package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.response.CategoryBean
import com.onlyphoto.onlymall.bean.response.SingleActivityBean


interface CCategory {

    interface IPCategory : IBasePresenter {
        fun getCategory(grade: Int, up_id: String = "")
        fun requestActivitySingle(use_range: Int, range_cat1_id: Int)
    }

    interface IVCategory : IBaseView {
        fun getCategorySuccess(list: ArrayList<CategoryBean>)
        fun getSecondarySuccess(list: ArrayList<CategoryBean>)
        fun requestActivitySingleSuccess(bean: SingleActivityBean)

    }
}